package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

public interface OrderSettingService extends IService<OrderSetting> {

    void importData(List<String[]> list);

    OrderSetting findByDate(String orderDate);

    Map<String,OrderSetting> findByYearMonth(Integer year,Integer month);

    boolean oneDaySetting(String day, Integer num);

    int isOrderOkByOrderDate(String orderDate);

    void updateReservationsByOrderDate(String orderDate);

    void updateReservations(OrderSetting orderSetting);
}
